"""
自动登录zmxy
描述:通过windows编程里的试图机制和鼠标键盘模拟实现自动登录
使用到的模块:pywin32和pyautogui
"""
import time
import win32api as api
import pyautogui as pgui

# 启动桌面
zmxy_desk = pgui.locateOnScreen('zmxy.png')
pgui.doubleClick(zmxy_desk)
time.sleep(5)

# 选择造5
z5 = pgui.locateOnScreen('z5.png')

